package whut.pso;

import whut.commons.Location;

/**
 * Created by Justin on 2018-04-02
 */
public interface IProcess {
    Location searching();

    void initializeSwarm(double[] center, double range);

    void updateFitnessList();

    double[] updateVelocity(Particle p, double[] pBest, double[] gBest, double w);

    double[] updateLocation(Particle p, double[] v);

    Location execute();
}
